'''
Created on Jul 10, 2010

@author: dgentry
'''

import sqlite3

#  open database

print "start"

conn = sqlite3.connect('db')

c1 = conn.cursor()


c1.execute('SELECT * FROM choices')

count = 0
for r in c1:
    count += 1
    print count, r[0], r[1], r[2]
    
conn.close()

print "end"